package com.bw.my.mvvm.user;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.bw.mvvm.mvvm.view.BaseActivity;
import com.bw.my.BR;
import com.bw.my.R;

import com.bw.my.databinding.ActivityUpdateBinding;
import com.bw.my.mvvm.user.viewmodel.UserUpDateViewModel;

public class UserUpDateActivity extends BaseActivity<ActivityUpdateBinding, UserUpDateViewModel>
implements View.OnClickListener {
    @Override
    public int bindLayout() {
        return R.layout.activity_update;
    }

    @Override
    public int initVerable() {
        return BR.reset;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mView.getRoot().findViewById(R.id.userresetBack).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        if (v.getId()==R.id.userresetBack){
            finishPage();
        }
    }
}
